package com.x.ant.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.util.Date;

@MappingTable(tableName = "ANT_TASK")
public class Task extends BaseObject {
	@MappingColumn(columnName = "TASK_ID", columnPk = true, columnLength = 32)
	private String taskId;

	@MappingColumn(columnName = "TASK_TYPE")
	private Integer taskType;

	@MappingColumn(columnName = "TASK_SENDER_USER_ID")
	private String taskSenderUserId;

	@MappingColumn(columnName = "TASK_SENDER_USER_NAME")
	private String taskSenderUserName;

	@MappingColumn(columnName = "TASK_SENDER_USER_MOBILE")
	private String taskSenderUserMobile;

	@MappingColumn(columnName = "TASK_GOODS_TYPE")
	private String taskGoodsType;

	@MappingColumn(columnName = "TASK_GOODS_STANDARD")
	private String taskGoodsStandard;

	@MappingColumn(columnName = "TASK_COST_PRICE")
	private Integer taskCostPrice;

	@MappingColumn(columnName = "TASK_FREIGHT_PRICE")
	private Integer taskFreightPrice;

	@MappingColumn(columnName = "TASK_PURCHASE_PRICE")
	private Integer taskPurchasePrice;

	@MappingColumn(columnName = "TASK_SALE_PRICE")
	private Integer taskSalePrice;

	@MappingColumn(columnName = "TASK_PAY_WAY")
	private String taskPayWay;

	@MappingColumn(columnName = "TASK_INSURANCE")
	private String taskInsurance;

	@MappingColumn(columnName = "TASK_PREMIUM")
	private Integer taskPremium;

	@MappingColumn(columnName = "TASK_LOADING_AREA")
	private String taskLoadingArea;

	@MappingColumn(columnName = "TASK_LOADING_ADDRESS")
	private String taskLoadingAddress;

	@MappingColumn(columnName = "TASK_UNLOADING_AREA")
	private String taskUnloadingArea;

	@MappingColumn(columnName = "TASK_UNLOADING_ADDRESS")
	private String taskUnloadingAddress;

	@MappingColumn(columnName = "TASK_TRUCK_TOTAL_NUM")
	private Integer taskTruckTotalNum;

	@MappingColumn(columnName = "TASK_TRUCK_OCCUPY_NUM")
	private Integer taskTruckOccupyNum;

	@MappingColumn(columnName = "TASK_LOSS")
	private Integer taskLoss;

	@MappingColumn(columnName = "TASK_PUBLISH_STATE")
	private Boolean taskPublishState;

	@MappingColumn(columnName = "TASK_STATE")
	private Integer taskState;

	@MappingColumn(columnName = "TASK_REMARK")
	private String taskRemark;

	@MappingColumn(columnName = "TASK_CREATE_TIME")
	private Date taskCreateTime;

	@MappingColumn(columnName = "DEPT_ID")
	private String deptId;

	@MappingTable(tableName = "ANT_DEPT")
	private Dept dept;

	@MappingColumn(columnName = "USER_ID")
	private String userId;

	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public Integer getTaskType() {
		return taskType;
	}

	public void setTaskType(Integer taskType) {
		this.taskType = taskType;
	}

	public String getTaskSenderUserId() {
		return taskSenderUserId;
	}

	public void setTaskSenderUserId(String taskSenderUserId) {
		this.taskSenderUserId = taskSenderUserId;
	}

	public String getTaskSenderUserName() {
		return taskSenderUserName;
	}

	public void setTaskSenderUserName(String taskSenderUserName) {
		this.taskSenderUserName = taskSenderUserName;
	}

	public String getTaskSenderUserMobile() {
		return taskSenderUserMobile;
	}

	public void setTaskSenderUserMobile(String taskSenderUserMobile) {
		this.taskSenderUserMobile = taskSenderUserMobile;
	}

	public String getTaskGoodsType() {
		return taskGoodsType;
	}

	public void setTaskGoodsType(String taskGoodsType) {
		this.taskGoodsType = taskGoodsType;
	}

	public String getTaskGoodsStandard() {
		return taskGoodsStandard;
	}

	public void setTaskGoodsStandard(String taskGoodsStandard) {
		this.taskGoodsStandard = taskGoodsStandard;
	}

	public Integer getTaskPurchasePrice() {
		return taskPurchasePrice;
	}

	public void setTaskPurchasePrice(Integer taskPurchasePrice) {
		this.taskPurchasePrice = taskPurchasePrice;
	}

	public Integer getTaskSalePrice() {
		return taskSalePrice;
	}

	public void setTaskSalePrice(Integer taskSalePrice) {
		this.taskSalePrice = taskSalePrice;
	}

	public Integer getTaskFreightPrice() {
		return taskFreightPrice;
	}

	public void setTaskFreightPrice(Integer taskFreightPrice) {
		this.taskFreightPrice = taskFreightPrice;
	}

	public String getTaskPayWay() {
		return taskPayWay;
	}

	public void setTaskPayWay(String taskPayWay) {
		this.taskPayWay = taskPayWay;
	}

	public String getTaskInsurance() {
		return taskInsurance;
	}

	public void setTaskInsurance(String taskInsurance) {
		this.taskInsurance = taskInsurance;
	}

	public Integer getTaskPremium() {
		return taskPremium;
	}

	public void setTaskPremium(Integer taskPremium) {
		this.taskPremium = taskPremium;
	}

	public String getTaskLoadingArea() {
		return taskLoadingArea;
	}

	public void setTaskLoadingArea(String taskLoadingArea) {
		this.taskLoadingArea = taskLoadingArea;
	}

	public String getTaskLoadingAddress() {
		return taskLoadingAddress;
	}

	public void setTaskLoadingAddress(String taskLoadingAddress) {
		this.taskLoadingAddress = taskLoadingAddress;
	}

	public String getTaskUnloadingArea() {
		return taskUnloadingArea;
	}

	public void setTaskUnloadingArea(String taskUnloadingArea) {
		this.taskUnloadingArea = taskUnloadingArea;
	}

	public String getTaskUnloadingAddress() {
		return taskUnloadingAddress;
	}

	public void setTaskUnloadingAddress(String taskUnloadingAddress) {
		this.taskUnloadingAddress = taskUnloadingAddress;
	}

	public Integer getTaskCostPrice() {
		return taskCostPrice;
	}

	public void setTaskCostPrice(Integer taskCostPrice) {
		this.taskCostPrice = taskCostPrice;
	}

	public Integer getTaskTruckTotalNum() {
		return taskTruckTotalNum;
	}

	public void setTaskTruckTotalNum(Integer taskTruckTotalNum) {
		this.taskTruckTotalNum = taskTruckTotalNum;
	}

	public Integer getTaskTruckOccupyNum() {
		return taskTruckOccupyNum;
	}

	public void setTaskTruckOccupyNum(Integer taskTruckOccupyNum) {
		this.taskTruckOccupyNum = taskTruckOccupyNum;
	}

	public Integer getTaskLoss() {
		return taskLoss;
	}

	public void setTaskLoss(Integer taskLoss) {
		this.taskLoss = taskLoss;
	}

	public Boolean getTaskPublishState() {
		return taskPublishState;
	}

	public void setTaskPublishState(Boolean taskPublishState) {
		this.taskPublishState = taskPublishState;
	}

	public Integer getTaskState() {
        return taskState;
    }

    public void setTaskState(Integer taskState) {
        this.taskState = taskState;
    }

    public String getTaskRemark() {
		return taskRemark;
	}

	public void setTaskRemark(String taskRemark) {
		this.taskRemark = taskRemark;
	}

	public Date getTaskCreateTime() {
		return taskCreateTime;
	}

	public void setTaskCreateTime(Date taskCreateTime) {
		this.taskCreateTime = taskCreateTime;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}
}
